package com.zgtp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * Application新增注解，排除DataSourceAutoConfiguration，手动配置数据源
 * @author e-fan.yang12
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@MapperScan("com.zgtp.mapper")
public class SpringbootMybatisOracleApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringbootMybatisOracleApplication.class, args);
	}

}
